<?php
    include('header.php');
    include('submenu.php');
    
    $msg = array();
    $sql = "SELECT ti_data FROM technical_information";
    $result = $db->Execute($sql);
    $i = 1;
    while (!$result->EOF)
    {
        $msg[($i++)] = $result->fields['ti_data'];
        $result->MoveNext();
    }
    $result->Close();
?>
    <div class="grid_18" id="contents">
        
        <div id="contents_">
            <form action="?m=product&s=technical-information_query" method="post">
                <table width="670" border="0" id="technical_information">
                    <tr>
                      <td class="text_middle" rowspan="6">
                        <input class="input large" type="text" name="msg1" value="<?php echo $msg[1]; ?>" />
                      </td>
                      <td colspan="2"><input class="input dlfull" type="text" name="msg2" value="<?php echo $msg[2]; ?>" /></td>
                    </tr>
                    <tr>
                      <td><input class="input large" type="text" name="msg3" value="<?php echo $msg[3]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg4" value="<?php echo $msg[4]; ?>" /></td>
                    </tr>
                    <tr>
                      <td><input class="input large" type="text" name="msg5" value="<?php echo $msg[5]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg6" value="<?php echo $msg[6]; ?>" /></td>
                    </tr>
                    <tr>
                      <td><input class="input large" type="text" name="msg7" value="<?php echo $msg[7]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg8" value="<?php echo $msg[8]; ?>" /></td>
                    </tr>
                    <tr>
                      <td colspan="2"><input class="input dlfull" type="text" name="msg9" value="<?php echo $msg[9]; ?>" /></td>
                    </tr>
                    <tr class="trmain">
                      <td><input class="input large" type="text" name="msg10" value="<?php echo $msg[10]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg11" value="<?php echo $msg[11]; ?>" /></td>
                    </tr>
                    <tr>
                      <td class="text_middle" rowspan="3"><input class="input large" type="text" name="msg12" value="<?php echo $msg[12]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg13" value="<?php echo $msg[13]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg14" value="<?php echo $msg[14]; ?>" /></td>
                    </tr>
                    <tr>
                      <td><input class="input large" type="text" name="msg15" value="<?php echo $msg[15]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg16" value="<?php echo $msg[16]; ?>" /></td>
                    </tr>
                    <tr class="trmain">
                      <td><input class="input large" type="text" name="msg17" value="<?php echo $msg[17]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg18" value="<?php echo $msg[18]; ?>" /></td>
                    </tr>
                    <tr>
                      <td class="text_middle" rowspan="4"><input class="input large" type="text" name="msg19" value="<?php echo $msg[19]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg20" value="<?php echo $msg[20]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg21" value="<?php echo $msg[21]; ?>" /></td>
                    </tr>
                    <tr>
                      <td><input class="input large" type="text" name="msg22" value="<?php echo $msg[22]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg23" value="<?php echo $msg[23]; ?>" /></td>
                    </tr>
                    <tr>
                      <td><input class="input large" type="text" name="msg24" value="<?php echo $msg[24]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg25" value="<?php echo $msg[25]; ?>" /></td>
                    </tr>
                    <tr class="trmain">
                      <td><input class="input large" type="text" name="msg26" value="<?php echo $msg[26]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg27" value="<?php echo $msg[27]; ?>" /></td>
                    </tr>
                    <tr>
                      <td class="text_middle" rowspan="3"><input class="input large" type="text" name="msg28" value="<?php echo $msg[28]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg29" value="<?php echo $msg[29]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg30" value="<?php echo $msg[30]; ?>" /></td>
                    </tr>
                    <tr>
                      <td><input class="input large" type="text" name="msg31" value="<?php echo $msg[31]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg32" value="<?php echo $msg[32]; ?>" /></td>
                    </tr>
                    <tr class="trmain">
                      <td><input class="input large" type="text" name="msg33" value="<?php echo $msg[33]; ?>" /></td>
                      <td><input class="input large" type="text" name="msg34" value="<?php echo $msg[34]; ?>" /></td>
                    </tr>
                    <tr>
                      <td colspan="3"><input class="input dlfulls" type="text" name="msg35" value="<?php echo $msg[35]; ?>" /></td>
                    </tr>
                  </table>
                
                <div class="form_field">
                    <button class="button">SAVE</button>
                </div>
            </form>
        </div>
        
    </div><!-- end .grid_18 -->
    <div class="clear">&nbsp;</div>
<?php
    include('footer.php');
?>